Run Time States
The Apis Hive has several runtime-states. A runtime-state is an internal condition of Apis Hive and its modules, and the different states are:
Name | Description |
---|---|
Initialized | Internal Apis Hive initializing. |
Modules created | The included modules are created. |
Configuration loaded | The modules have loaded their persisted configuration. |
Resources acquired | The modules have acquired any resources they need. |
Started | The configured system is running. |
Paused | The configured system is idle. |
Stopped | The configured system is stopped. |
Configuration saved | The configuration is saved. |
Resources released | The modules have released any acquired resources. |
By default, Apis Hive will automatically enter the "Started" runtime-state when launched, passing through all the other states. Apis Hive will initialize itself, create the modules, load their configuration, and acquire their resources before entering the "Started" state. The automatically entered runtime-state is configurable, see "Configuring the Apis Hive properties".
It's also possible to manually pass through the different states. This might be desirable, for example, when debugging a malfunctioning configuration. To do this, set the auto start level to Initialize and restart the Apis Hive. To manually set the runtime-state of an Apis Hive Instance node, change the "Running state" property.